<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
		
		<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
		<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
		<title>好友邀请码</title>
	</head>
	<style>
		body,
		html {
			padding: 0;
			margin: 0;
			font-size: 20px;
		}
		
		a {
			text-decoration: none;
			color: black;
		}
		
		p {
			height: 30px;
			line-height: 30px;
		}
		
		.code {
			width: 80%;
			height: 300px;
			margin-top: 120px;
			margin-left: 10%;
			background-image: linear-gradient(120deg, #89f7fe 0%, #66a6ff 100%);
			border-radius: 10px;
			color: white;
		}
	</style>

	<body>
		<table style="margin-top: -120px;height: 45px;width: 100%;background-image: linear-gradient(120deg, #89f7fe 0%, #66a6ff 100%);position: fixed;z-index: 9999;">
			<td style="width: 1px;float: left;">
			</td>
			<td align="center">
				<img src="../icon/invite.png" style="height: 35px;margin-top: 5px;" />
			</td>
			<td style="width: 1px;float: right;">
			</td>
		</table>
		<div class="code" align="center">
			</br><span style="font-size: 30px;">好友邀请码</span></br>
			<img id="code" style="height: 50%;margin-top: 10px;">
			</br><span style="font-size: 15px;">打开微信 扫描二维码</span></br>
			<span style="font-size: 15px;">即可获得好友邀请礼券</span>
	</div>
		</br>
	</body>
	<script src="../js/get.js"></script>
	<script>
		var user_invitation_code = GetRequest();
		var url ="http://www.xxxx.com/invitation.html?invitationcode="+user_invitation_code;
		$("#code").attr("src",'http://qr.liantu.com/api.php?&w=200&m=5&text='+url)
	</script>

</html>